<style>
    .platform-ios.platform-cordova:not(.fullscreen) .hheecc{
        height: 64px;
    }
    .hheecc{
        height: 44px;
    }
</style>
<ion-view class="information_wrap">
    <ion-header-bar class="index_head" ng-if="!sharephone" >
        <button class="button button-icon icon ion-android-arrow-back" ng-click="$ionicGoBack()" style="color: #fff"></button>
        <div class="h1 title">金策师资讯</div>
        <!--ng-if="!ISWEB"-->
        <a ng-if="!ISWEB" class="button button-clear zhuce_head_btn" ng-click="fxInformation(item.userName+'财经资讯',item.personalizedSignature,item.userHeadImg,0)">
            <img src="img/commimg/share_icon.png" alt="" style="width: 26px;height: 28px;margin-top: 3px;">
        </a>
    </ion-header-bar>
    <ion-content class="informargin">
        <div class="hheecc" ng-if="!sharephone"></div>
        <div class="headWrap" ng-if="!sharephone"  ui-sref="shopperinfo()">
            <div class="head_con ">
                <div class="head_imgwrap">
                    <img src="img/commimg/chanpin.png" ng-src="{{baseUrl}}{{item.userHeadImg}}?x-oss-process=image/resize,w_750">
                </div>
                <div class="head_right">
                    <div class="txtphone">
                    <span style="font-size: 0.453rem;margin-right: 10px;float: left;max-width: 100px;overflow: hidden;white-space: nowrap;color: #333" ng-class="{true:'licaishiTrue',false:''}[!item.userName]">{{item.userName  || '理财师' || user.loginName}}</span>
                        <span ng-if="!sharephone" style="font-size: 10px;color: #999;font-size: 12px;vertical-align: super;vertical-align: middle;">TEL:{{item.userPhone || user.loginName}}</span>
                        <a ng-if="sharephone" style="font-size: 10px;color: #323C47;font-size: 12px;vertical-align: super;"  href="tel:{{item.userPhone}}">TEL:{{item.userPhone || user.loginName}}</a>
                    </div>
                    <div ng-class="{true:'jigouStyle',false:'txt2'}[!item.companyName]">{{item.companyName || '机构名称'}}</div>
                </div>
            </div>
            <p style="height: 40px;padding-left: 15px;padding-top: 5px;color: #323C47;">
                <span class="bian_txt" ng-class="{true:'licaishiTrue',false:''}[!item.personalizedSignature]">{{item.personalizedSignature || '个性签名'}}</span>
                <img ng-if="!sharephone" class="head_bian" src="img/commimg/bianji@2x.png">
            </p>
        </div>
        <div class="headWrap" ng-if="sharephone">
            <div class="head_con">
                <div class="head_imgwrap">
                    <img src="img/commimg/chanpin.png" ng-src="{{baseUrl}}{{item.userHeadImg}}?x-oss-process=image/resize,w_750">
                </div>
                <div class="head_right">
                    <div class="txtphone">
                        <span style="font-size: 17px;margin-right: 10px;float: left;max-width: 100px;overflow: hidden;white-space: nowrap" ng-class="{true:'licaishiTrue',false:''}[!item.userName]">{{item.userName  || '理财师' || user.loginName}}</span>
                        <span ng-if="!sharephone" style="font-size: 10px;color: #323C47;font-size: 12px;vertical-align: super;">TEL:{{item.userPhone || user.loginName}}</span>
                        <a ng-if="sharephone" style="font-size: 10px;color: #323C47;font-size: 12px;vertical-align: super;"  href="tel:{{item.userPhone}}">TEL:{{item.userPhone || user.loginName}}</a>
                    </div>
                    <div ng-class="{true:'jigouStyle',false:'txt2'}[!item.companyName]">{{item.companyName || '机构名称'}}</div>
                </div>
            </div>
            <p style="height: 40px;padding-left: 15px;padding-top: 5px;color: #323C47;">
                <span class="bian_txt" ng-class="{true:'licaishiTrue',false:''}[!item.personalizedSignature]">{{item.personalizedSignature || '个性签名'}}</span>
                <img ng-if="!sharephone" class="head_bian" src="img/commimg/bianji@2x.png" ui-sref="shopperinfo()">
            </p>
        </div>
        <!--及时快讯-->
        <div class="newflash">
            <p>
                <div class="jishitxt" style="color: #FF971B;float: left;width: 13%;margin-top: 3px;font-size: 14px;">
                    <div>即时</div>
                    <div>快讯</div>
                </div>
                <div class="swp-con" id="swp_id"  ui-sref="newFlashList({sphone: sharephone})">
                    <div class="hezi" >
                        <div class="hezi_gun" style="height: 60px;font-size: 14px;color: #333333;" ng-repeat="t in newflash">
                            <p style="margin: 0;">{{t.title}}</p>
                        </div>
                        <div ng-if="nums.length == 1" style="height: 60px;font-size: 14px;color: #333333;" ng-repeat="t in newflash|limitTo:1">
                            <p style="margin: 0;">{{t.title}}</p>
                        </div>
                    </div>
                </div>
            </p>
        </div>
        <!--大盘数据-->
        <div class="pandata">
            <div class="pandata_top">
                <h3 style="font-size: 0.427rem;text-align: center;padding-top: 10px;padding-bottom: 8px;color: #333;font-weight: normal;">实时大盘数据</h3>
                <span class="pan_boot"></span>
            </div>
            <ul class="panul clear">
                <li style="text-align: left;padding-left: 15px;" ng-repeat="n in listData | limitTo:3">
                        <p style="margin-top: 10px;margin-bottom: 5px;color: #999999;font-size: 14px;">{{n.indexName}}</p>
                        <h3 style="font-size: 21px">{{n.indexEndPrice | dapanFloat}}</h3>
                        <p style="padding-top: 5px;">
                            <span ng-class="{true:'panul_red',false:'panul_green'}[n.indexChangePrice>=0]" style="font-size: 13px;"><i ng-if="n.indexChangePrice>0">+</i>{{n.indexChangePrice|dapanFloat}}</span>
                            <span ng-class="{true:'panul_red',false:'panul_green'}[n.indexChangePrice>=0]" style="margin-left: 5px;font-size:13px;"><i ng-if="n.indexChangePriceRate>0">+</i>{{n.indexChangePriceRate|dapanFloat}}%</span>
                        </p>
                </li>
            </ul>
        </div>
        <!--资讯简报-->
        <div class="Briefing">
            <h3 style="height: 50px;line-height:40px;text-indent: 15px;padding-top: 10px;font-size: 0.48rem;margin: 0;background: #F5F5F5;font-weight: normal">资讯简报</h3>
            <div class="briewrap" >
                <div class="briewrap_con weui-flex" style="overflow: hidden;" ng-repeat="s in newBirefList" ng-click="listDetail(s, 1)">
                    <div class="brie_left">
                        <img ng-if="$index==0" ng-src='{{s.hotImg}}' src="img/commimg/wx-zaobao.png" >
                        <img ng-if="$index==1" ng-src='{{s.hotImg}}' src="img/commimg/wx-wanbao.png" >
                    </div>

                    <div class="briewrap_right weui-flex__item">
                        <span style="font-size: 14px;color: #333333;line-height: 20px;display: block;margin-top: -2px;">{{s.title}}</span>
                        <p style="max-height: 34px;overflow: hidden;color: #666666;margin: 0;font-size:14px;margin-top: 0.187rem;line-height: 17px;">{{s.birefDesc}}</p>
                    </div>
                </div>
            </div>
        </div>
        <!--热点资讯-->
        <div class="Hotspot">
            <h3 style="height: 50px;line-height: 40px;text-indent: 15px;padding-top: 10px;font-size:  0.48rem;margin: 0;background: #F5F5F5;font-weight: normal">热点资讯</h3>
            <div class="Hotspot_wrap" ng-repeat="m in newhotList">
                <div class="Hotspot_con weui-flex" ng-click="listDetail(m,2)">
                    <div  class="Hot_mas">
                        <img src="img/commimg/acfast_logo.png"  ng-src="{{m.hotImg}}?x-oss-process=image/resize,w_750">
                    </div>
                    <div class="Hots_right weui-flex__item">
                        <p style="overflow: hidden;margin-bottom: 0.187rem;margin-top: -2px;" class="weui-flex">
                            <span class="weui-flex__item" style="font-size: 14px;height: 20px;color: #333;" ng-if="m.title.length<=10">{{m.title}}</span>
                            <span class="weui-flex__item" style="font-size: 14px;height: 20px;color: #333;" ng-if="m.title.length>10">{{m.title|limitTo:10}}...</span>
                            <img src="img/commimg/yuedu@2x.png" style="width: 20px;height: 16px;margin-top: 2px;">
                            <span style="margin-left: 5px;color: #999">{{m.browseNum || 0}}</span>
                        </p>
                        <p style="height: 34px;overflow: hidden;color: #666666;clear: both;font-size: 14px;margin: 0;line-height: 17px;">{{m.birefDesc}}</p>
                    </div>
                </div>
                <div style="border-top: 1px dashed #E8E8E8;"></div>
                <!--<h3 style="font-size: 0.48rem;text-align: center;color: #999;margin: 10px 0;">用户评论：</h3>-->
                <div class="Hospot_Comment">
                    <p style="font-size: 14px;color: #666;padding-left: 3em; text-indent: -3em"><span style="padding-right: 1em">点评</span>{{m.commentContent}}</p>
                </div>
                <div class="Hospost_user">
                    <div class="Hospost_user_img">
                        <img src="img/commimg/acfast_logo.png" style="border-radius: 50%" ng-src="{{m.commentHeaderurl}}?x-oss-process=image/resize,w_750">
                    </div>
                    <div class="Hospost_user_right">
                        <p style="font-size: 13px;margin: 0;text-indent: 5px">
                            <span style="font-size: 13px;color: #333333;">{{m.commentName}}</span>
                            <span style="font-size: 13px;color: #999;margin-left: 5px;">{{m.commentIdentity}}</span>
                        </p>
                        <p style="font-size: 13px;margin: 0;color: #333;margin-left: 5px;">
                            {{m.commentPosition}}
                            <img ng-click="fxInformation(m.title,m.birefDesc,m.hotImg,3,m.id)" ng-if="!sharephone" style="float: right;width: 20px;height: 20px;margin-left: 15px;" src="img/commimg/zhuanfa@2x.png">
                            <span ng-if="!sharephone&&m.dzFlag == 1" style="float: right;margin-left: 5px;margin-top: 1px;color: #999">{{m.dzNum || 0}}</span>
                            <span ng-if="!sharephone&&m.dzFlag == 0" style="float: right;margin-left: 5px;margin-top: 1px;" class="numOrigin">{{m.dzNum || 0}}</span>
                            <img ng-if="m.dzFlag == 1&&!sharephone" ng-click="dianzan(m)" style="float: right;width: 20px;height: 20px;" src="img/commimg/dianji@2x.png">
                            <img ng-if="m.dzFlag == 0&&!sharephone" ng-click="dianzan(m)" style="float: right;width: 20px;height: 20px;" src="img/commimg/dianzan-hover@2x.png"/>
                        </p>
                    </div>
                </div>
            </div>
        </div>
        <!--早鸟理财师驿站-->
        <div class="birdwrap">
            <h3 style="height: 50px;line-height: 40px;font-size:  0.48rem;margin: 0;padding: 0 15px;padding-top: 10px;background: #F5F5F5;font-weight: normal;">
                早鸟理财师驿站
                <img ng-if="qiantrue == false && !sharephone" style="float: right;width: 20px;height: 20px;margin-top: 12px;" src="img/commimg/qiandao@2x.png" ng-click="qianTxtcli()" />
                <img ng-if="qiantrue == true && !sharephone" style="float: right;width: 20px;height: 20px;margin-top: 12px;" src="img/commimg/qiandao -hover@2x.png" ng-click="qianTxtcli()" />
            </h3>
            <div class="bird_con" ng-repeat="n in newmoringList">
                <div>
                    <h4 style="font-size: 0.427rem;margin-bottom: 20px;color: #333;">{{n.title}}</h4>
                    <h5 style="font-size: 0.347rem;color: #333;">{{n.birefDesc}}</h5>
                    <p  class="bire_txt"  style="font-size: 0.347rem;color: #666;" ng-bind-html="n.content"></p>
                    <p style="overflow: hidden;">
                        <img ng-click="fxInformation(n.title,n.birefDesc,n.commentHeaderurl,4,n.id)" ng-if="!sharephone" style="float: right;width: 20px;height: 20px;margin-left: 15px;" src="img/commimg/zhuanfa@2x.png">
                        <span ng-if="!sharephone&&n.dzFlag == 1" style="float: right;margin-left: 5px;margin-top: 1px;color: #999">{{n.dzNum || 0}}</span>
                        <span ng-if="!sharephone&&n.dzFlag == 0" style="float: right;margin-left: 5px;margin-top: 1px;" class="numOrigin">{{n.dzNum || 0}}</span>
                        <img  ng-if="n.dzFlag == 1&&!sharephone"  ng-click="dianzan(n)" style="float: right;width: 20px;height: 20px;" src="img/commimg/dianji@2x.png">
                        <img ng-if="n.dzFlag == 0&&!sharephone" ng-click="dianzan(n)" src="img/commimg/dianzan-hover@2x.png" style="float: right;width: 20px;height: 20px;" />
                    </p>
                </div>
                <div style="background: #E8E8E8;height: 1px;margin-top: 15px;"></div>
            </div>

        </div>

        <!--早鸟理财师排名-->
        <div class="birdranking">
            <h5 style="font-size: 14px;">今日早鸟理财师排名</h5>
            <div class="bridimgwrap" style="overflow: hidden;">
                <!--<div class="coli" ng-class="{true:'flexcoli',false:'coli'}[listLength>5]">-->
                    <!--<img ng-repeat="n in listimg | limitTo:5" src="img/commimg/acfast_logo.png" ng-src="{{baseUrl}}{{n.faImage}}?x-oss-process=image/resize,w_750">-->
                    <!--<div class="col_jia" ng-if="listLength>5">-->
                        <!--<span>+</span>-->
                        <!--<span>{{listLength-5}}</span>-->
                    <!--</div>-->
                <!--</div>-->
                <div  class="clear bridimgmain" >
                    <div ng-repeat="n in listimg | limitTo:5" >
                        <img src="img/commimg/1.png" ng-src="{{baseUrl}}{{n.faImage}}?x-oss-process=image/resize,w_750"/>
                    </div>
                    <!--<img ng-repeat="n in listimg | limitTo:5" src="img/commimg/acfast_logo.png" ng-src="{{baseUrl}}{{n.faImage}}?x-oss-process=image/resize,w_750">-->
                    <div style="" ng-if="listLength>5">
                        <p class="col_jia">
                            <span>+</span>
                            <span>{{listLength-5}}</span>
                        </p>

                    </div>
                </div>
            </div>
        </div>
        <!--咨询关联产品-->
        <div style="background-color: #fff;padding: 15px">
            <div ng-if="prodata" style="border: 1px solid #e8e8e8;">
                <div style="margin: 0"  class="w4-prolist-list w4-prolist-list-issort">
                    <div ng-click="toView(prodata.ptype,prodata.projectId)" >
                        <div class="row w4-prolist-list-1" style="border: none;padding-right: 50px">
                            <div class="w4-prolist-name" style="max-width: 100%">{{prodata.pname}}</div>
                            <img style="right: 5px" ng-if="prodata.saleStatus == 02" class="w4-hot-list-statusimg"  src="img/status_yuren.png" width="39px" height="17px">
                            <img style="right: 5px" ng-if="prodata.saleStatus == 03" class="w4-hot-list-statusimg"  src="img/status_mujizhong.png" width="39px" height="17px">
                            <img style="right: 5px" ng-if="prodata.saleStatus == 04" class="w4-hot-list-statusimg"  src="img/status_muman.png" width="51px" height="17px">
                            <img style="right: 5px" ng-if="prodata.saleStatus == 05" class="w4-hot-list-statusimg"  src="img/status_jieshu.png" width="51px" height="17px">
                        </div>

                        <div ng-if="prodata.ptype != '01'" class="row w4-prolist-list-2" style="text-align: center">
                            <div class="col">
                                <div class="w4-prolist-color">{{prodata.expectAnnualRevenue}}</div>
                                <div>预期年化</div>
                            </div>
                            <div class="col" style="border-right: 1px solid #e8e8e8;border-left: 1px solid #e8e8e8;">
                                <div>{{prodata.dueTime}}个月</div>
                                <div>产品期限</div>
                            </div>
                            <div class="col">
                                <div>{{prodata.pminimumAmount | abbrMoney}}</div>
                                <div>起投金额</div>
                            </div>
                        </div>
                        <div ng-if="prodata.ptype == '01'" class="row w4-prolist-list-2" style="text-align: center">
                            <div class="col">
                                <div class="w4-prolist-color">{{prodata.expectAnnualRevenue}}</div>
                                <div>涨跌幅</div>
                            </div>
                            <div class="col" style="border-right: 1px solid #e8e8e8;border-left: 1px solid #e8e8e8;">
                                <div>{{prodata.pminimumAmount}}</div>
                                <div>最新净值</div>
                            </div>
                            <div class="col">
                                <div>{{prodata.dueTime}}</div>
                                <div>基金经理</div>
                            </div>
                        </div>

                    </div>
                </div>
                <div ng-if="!sharephone && prodata" class="row row-no-padding text-center bg-fff" >
                    <div class="row" style="border-top: 1px dashed #e8e8e8;">
                        <div ui-sref="app.shopsProduct2({isonmsg:'nomad'})" class="col" style="border-right: 1px solid #e8e8e8;">
                            <img style="vertical-align: text-bottom;margin-right: 5px" width="18px" src="img/shops/product-add.png"/>编辑</div>
                        <div ng-click="delmsgpro(prodata.id)" class="col">
                            <img style="vertical-align: text-bottom;margin-right: 5px" width="15px"  src="img/shops/product-delete.png"/>删除</div>
                    </div>
                </div>
            </div>
            <div ng-if="!sharephone && !prodata" ui-sref="app.shopsProduct2({isonmsg:'nomad'})" class=" bg-fff shop-product-add" style="background-image: linear-gradient(-42deg, #FF8C2B 0%, #FF6322 100%);
    border-radius: 4px;">
                添加产品
            </div>
        </div>
        <div style="height: 40px;background-color: #fff;"></div>
    </ion-content>
    <div class="qian_mask" id="maskId" ng-click="ishide()"></div>
    <!--签到弹窗-->
    <div class="qian_floatwrap" id="floatwrapId" ng-click="ishide()">
        <div class="qian_reative">
            <div class="sgin_ranking">
                <p class="" style="text-align: center">今日早鸟排名：{{floatlist.timeSort}}</p>
                <p class="">
                    <span style="margin-right: 15px;">早鸟天数：{{floatlist.signinNum}}</span>
                    <span>总排名：{{floatlist.totalSort}}</span>
                </p>
        </div>
        </div>
    </div>

</ion-view>
